package com.kangyi.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author Blank
 * @since 2025-02-11
 */
@Data
@ApiModel(value = "公益活动详情数据返回")
public class PublicActivityDetailVO implements Serializable {
    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("发布人名称")
    private String name;
    @ApiModelProperty("发布人头像")
    private String headshot;
    @ApiModelProperty("活动名称")
    private String activityName;
    @ApiModelProperty("活动描述")
    private String description;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("活动内容")
    private String content;
    @ApiModelProperty("活动开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty("活动结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty("活动报名截止时间")
    private LocalDateTime signupDeadline;
    @ApiModelProperty("报名总人数")//根据activity_signup表计算报名总人数
    private Integer total;
    @ApiModelProperty("活动状态：1即将开始 2进行中 3已结束")
    private Integer status;
    @ApiModelProperty("邀请人信息")
    private InviterInfoVO inviterInfoVO;
    @ApiModelProperty("活动图片")
    private List<PublicActivityImgVO> publicActivityImgVOList;
}
